<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<title>SmartLighting app</title>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="js/device.js"></script>
<script type="text/javascript">
if(device.iphone()){
window.location = "https://itunes.apple.com/cn/app/jbt-smartled-v1/id1043423602?mt=8";  
}
if(device.android()){
window.location = "http://182.254.149.155/download/SmartLighting_v1.1.26.apk";  
}
</script>
<style>
h1 {text-align:center;}
</style>
</head>
<body>
<div class="container-fluid">
<h1>SmartLighting app</h1>
  <div class="row">
<a href="https://itunes.apple.com/cn/app/jbt-smartled-v1/id1043423602?mt=8"><button type="button" class="btn btn-primary btn-lg btn-block">ios</button></a>
<a href="http://182.254.149.155/download/SmartLighting_v1.1.26.apk"><button type="button" class="btn btn-default btn-lg btn-block">android</button></a>
  </div>
</div>

</body>
</html>
